package com.lanou.quanttrade.stock.mapper;

import com.lanou.quanttrade.stock.javabean.StockBasicInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StockBasicInfoMapper {

    /**
     * 根据tscodeList查询股票基本信息列表
     * @param tscodeList
     * @return
     */
    List<StockBasicInfo> getStockBasicInfosThroughTscodes(@Param("tscodeList") List<String> tscodeList);

    /**
     * 根据stockcode查询股票基本信息
     * @param stockcode
     * @return
     */
    StockBasicInfo getStockBasicInfoThroughStockcode(@Param("stockcode")String stockcode);
}
